package dwl.graduation.design.mapper;

import dwl.graduation.design.domain.FurnitureInfo;
import dwl.graduation.design.domain.FurnitureInfoExample;
import java.util.List;

import dwl.graduation.design.utils.QueryPageBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface FurnitureInfoMapper {
    int countByExample(FurnitureInfoExample example);

    int deleteByExample(FurnitureInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FurnitureInfo record);

    int insertSelective(FurnitureInfo record);

    List<FurnitureInfo> selectByExampleWithRowbounds(FurnitureInfoExample example, RowBounds rowBounds);

    List<FurnitureInfo> selectByExample(FurnitureInfoExample example);

    FurnitureInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FurnitureInfo record, @Param("example") FurnitureInfoExample example);

    int updateByExample(@Param("record") FurnitureInfo record, @Param("example") FurnitureInfoExample example);

    int updateByPrimaryKeySelective(FurnitureInfo record);

    int updateByPrimaryKey(FurnitureInfo record);

    List<FurnitureInfo> getPageList(@Param("queryPageBean")QueryPageBean queryPageBean);

    Long getListSize(@Param("queryPageBean")QueryPageBean queryPageBean);
}